home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Development Platforms / Apple II / Essentials / MPW IIGS Interfaces / PIIGSIncludes / Scrap.p < prev    next >
Encoding:
Text File  |  1990-04-03  |  1000 b   |  40 lines  |  [TEXT/MPS ]

  1. {********************************************
  2. ; File: Scrap.p
  3. ;
  4. ;
  5. ; Copyright Apple Computer, Inc. 1986-90
  6. ; All Rights Reserved
  7. ;
  8. ********************************************}
  9.  
  10. UNIT SCRAP;
  11. INTERFACE
  12. USES TYPES;
  13. CONST
  14.  
  15. { Error Codes }
  16. badScrapType = $1610;  { No scrap of this type. }
  17.  
  18. { Scrap Types }
  19. textScrap = $0000;
  20. picScrap = $0001;
  21. PROCEDURE GetScrap ( destHandle:Handle; scrapType:Integer)  ;
  22. FUNCTION GetScrapCount  : Integer ;
  23. FUNCTION GetScrapHandle ( scrapType:Integer) : handle ;
  24. FUNCTION GetScrapPath  : Ptr ;
  25. FUNCTION GetScrapSize ( scrapType:Integer) : Longint ;
  26. FUNCTION GetScrapState  : Integer ;
  27. PROCEDURE LoadScrap   ;
  28. PROCEDURE PutScrap ( numBytes:Longint; scrapType:Integer; srcPtr:Ptr)  ;
  29. PROCEDURE ScrapBootInit   ;
  30. PROCEDURE ScrapReset   ;
  31. PROCEDURE ScrapShutDown   ;
  32. PROCEDURE ScrapStartUp   ;
  33. FUNCTION ScrapStatus  : Boolean ;
  34. FUNCTION ScrapVersion  : Integer ;
  35. PROCEDURE SetScrapPath ( path:Str255)  ;
  36. PROCEDURE UnloadScrap   ;
  37. PROCEDURE ZeroScrap   ;
  38. IMPLEMENTATION
  39. END.
  40.